package com.aiti.lulian.mapper;

import com.aiti.lulian.dto.newCard.CardBaseInfoDto;
import com.aiti.lulian.entity.CardUserCardSetting;
import com.aiti.lulian.vo.newCard.CardMemberDataVo;
import com.aiti.lulian.vo.newCard.CardUserTemplateVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 个人名片设置表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-08-11
 */
public interface CardUserCardSettingMapper extends BaseMapper<CardUserCardSetting> {

    List<CardUserTemplateVo> getPersonalTemplateUsingData(@Param("userId") String userId, Page<CardUserTemplateVo> page);

    List<CardMemberDataVo> selectMemberDataByTemplate(@Param("dto") CardBaseInfoDto dto, Page<CardMemberDataVo> page);
}
